import request from '@/utils/request'

// 查询招生简章列表
export function listCompassAdmissionsGuide(query) {
  return request({
    url: '/system/CompassAdmissionsGuide/list',
    method: 'get',
    params: query
  })
}

// 查询招生简章详细
export function getCompassAdmissionsGuide(createTime) {
  return request({
    url: '/system/CompassAdmissionsGuide/' + createTime,
    method: 'get'
  })
}

// 新增招生简章
export function addCompassAdmissionsGuide(data) {
  return request({
    url: '/system/CompassAdmissionsGuide',
    method: 'post',
    data: data
  })
}

// 修改招生简章
export function updateCompassAdmissionsGuide(data) {
  return request({
    url: '/system/CompassAdmissionsGuide',
    method: 'put',
    data: data
  })
}

// 删除招生简章
export function delCompassAdmissionsGuide(createTime) {
  return request({
    url: '/system/CompassAdmissionsGuide/' + createTime,
    method: 'delete'
  })
}

// 导出招生简章
export function exportCompassAdmissionsGuide(query) {
  return request({
    url: '/system/CompassAdmissionsGuide/export',
    method: 'get',
    params: query
  })
}
